[gd_scene load_steps=14 format=3 uid="uid://c8hd6g1ut5iok"]

[ext_resource type="Texture2D" uid="uid://cgfevouuaj838" path="res://assets/sprites/background/background.png" id="1_u0hlj"]
[ext_resource type="PackedScene" uid="uid://dkcd5om7fh0w4" path="res://scenes/tilemap/tilemap.tscn" id="2_lboos"]
[ext_resource type="Texture2D" uid="uid://dm81x4ycx2pbm" path="res://assets/sprites/cut_scene/old_beggar_slime.png" id="3_gke0d"]
[ext_resource type="Texture2D" uid="uid://boxy83mdd5bu" path="res://assets/sprites/slime/slime.png" id="4_buskx"]
[ext_resource type="Texture2D" uid="uid://cf1yqnjl1wbi3" path="res://assets/sprites/cut_scene/bowl.png" id="5_xj773"]
[ext_resource type="Texture2D" uid="uid://brc2hehktqsui" path="res://assets/sprites/cut_scene/red_slime.png" id="6_hr7qm"]
[ext_resource type="Texture2D" uid="uid://diysmp7g8bow4" path="res://assets/sprites/cut_scene/phrase.png" id="7_b4pj3"]
[ext_resource type="FontFile" uid="uid://dxsveaxmq5euc" path="res://assets/fonts/m5x7.ttf" id="8_cu588"]

[sub_resource type="GDScript" id="GDScript_oi8dl"]
script/source = "extends Node2D

func _ready() -> void:
	$AnimationPlayer.play(\"cut_scene\")
	await $AnimationPlayer.animation_finished
	get_tree().change_scene_to_file(\"res://scenes/main_menu/level_select/level_select.tscn\")
"

[sub_resource type="LabelSettings" id="LabelSettings_55827"]
font = ExtResource("8_cu588")
font_size = 32

[sub_resource type="Animation" id="Animation_iycxg"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("RedSlime:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(207, 155)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Bowl:frame")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Slime:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(-11, 155)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("RedSlime:frame")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [1]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Bowl:modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("OldBeggarSlime:frame")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath("Phrase:modulate")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Color(1, 1, 1, 0)]
}

[sub_resource type="Animation" id="Animation_lu7kn"]
resource_name = "cut_scene"
length = 12.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("RedSlime:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0.5, 5, 5.5, 9.6),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [Vector2(288, 155), Vector2(64, 155), Vector2(64, 155), Vector2(219, 155)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Bowl:frame")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 5.3),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [0, 1]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Slime:position")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(5.5, 6, 6.5, 8, 11.6),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [Vector2(-11, 155), Vector2(4, 155), Vector2(4, 155), Vector2(45, 155), Vector2(393, 155)]
}
tracks/3/type = "value"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("RedSlime:frame")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 5.5, 9.6, 10.5, 11.2),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 1,
"values": [0, 1, 0, 1, 2]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Bowl:modulate")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0, 8),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("OldBeggarSlime:frame")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0, 8, 8.9),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [0, 1, 2]
}
tracks/6/type = "value"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath("Phrase:modulate")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0, 8.7, 9.3),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_nep8q"]
_data = {
"RESET": SubResource("Animation_iycxg"),
"cut_scene": SubResource("Animation_lu7kn")
}

[node name="CutScene" type="Node2D"]
script = SubResource("GDScript_oi8dl")

[node name="Sky" type="Sprite2D" parent="."]
texture_repeat = 2
position = Vector2(0, -16)
scale = Vector2(1.2, 1.2)
texture = ExtResource("1_u0hlj")
centered = false
metadata/_edit_lock_ = true

[node name="TileMap" parent="." instance=ExtResource("2_lboos")]
layer_0/tile_data = PackedInt32Array(327680, 65536, 0, 327681, 65536, 0, 327682, 65536, 0, 327683, 65536, 0, 327684, 65536, 0, 327685, 65536, 0, 327686, 65536, 0, 327687, 65536, 0, 327688, 65536, 0, 327689, 65536, 0, 327690, 65536, 0, 327691, 65536, 0)

[node name="Slime" type="Sprite2D" parent="."]
position = Vector2(-11, 155)
texture = ExtResource("4_buskx")
hframes = 2
vframes = 6

[node name="OldBeggarSlime" type="Sprite2D" parent="."]
position = Vector2(35, 156)
texture = ExtResource("3_gke0d")
hframes = 3

[node name="Bowl" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0)
position = Vector2(48, 153)
texture = ExtResource("5_xj773")
hframes = 2

[node name="RedSlime" type="Sprite2D" parent="."]
position = Vector2(207, 155)
texture = ExtResource("6_hr7qm")
hframes = 3
frame = 1

[node name="Phrase" type="Sprite2D" parent="."]
modulate = Color(1, 1, 1, 0)
position = Vector2(108, 123)
texture = ExtResource("7_b4pj3")

[node name="Label" type="Label" parent="Phrase"]
offset_left = -80.0
offset_top = -24.0
offset_right = 80.0
offset_bottom = 8.0
text = "God damn you!"
label_settings = SubResource("LabelSettings_55827")
horizontal_alignment = 1
vertical_alignment = 1

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_nep8q")
}
